package cc.togetherit.jcrawler.down;

import cc.togetherit.jcrawler.dataPool.CrawlerPool;
import cc.togetherit.jcrawler.fetch.FetchRequest;


public class HttpClientDownEngine extends AbstractDownEngine {

    public HttpClientDownEngine(CrawlerPool<String> downPool, CrawlerPool<FetchRequest> fetchPool) {
        super(downPool, fetchPool);
    }

    @Override
    public String download(String pageUrl) {
        return UrlUtil.getUrlString(pageUrl, "UTF-8", null, false, 10000);
    }

    public void stop() {
        
    }

}
